<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>文章-编辑</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../../layui-v2.8.0/css/layui.css" media="all">
    <link rel="stylesheet" href="../../css/select2.min.css" media="all">
    <link rel="stylesheet" href="/layui-v2.8.0/lay-module/markdown/css/editormd.min.css"/>
    <script type="application/javascript" src="../../js/jquery-v3.6.3.min.js"></script>
    <script type="application/javascript" src="../../js/jquery.cookie.min.js"></script>
    <script type="application/javascript" src="../../layui-v2.8.0/layui.js" charset="utf-8"></script>
    <script type="application/javascript" src="../../layui-v2.8.0/modules/all.js" charset="utf-8"></script>
    <script type="application/javascript" src="../../layui-v2.8.0/lay-config.js?v=2.0.0" charset="utf-8"></script>
    <script type="application/javascript" src="../../html-js/index.js" charset="utf-8"></script>
    <script type="application/javascript" src="../../html-js/common.js" charset="utf-8"></script>
    <script type="application/javascript" src="../../html-js/blog/article-edit.js" charset="utf-8"></script>
    <script type="application/javascript" src="../../html-js/header.js" charset="utf-8"></script>
    <script type="application/javascript" src="/layui-v2.8.0/lay-module/markdown/editormd.js" charset="utf-8"></script>

    <script>


    </script>
</head>
<body>
<form class="article-edit-add layui-form layui-form-pane" style="margin: 0 auto;padding: 1rem;"  lay-filter="saveArticleInfo">
    <input class="id" name="id" style="display:none;"/>
    <div class="layui-form-item">
        <label class="layui-form-label required">文章名称</label>
        <div class="layui-input-block">
            <input type="text" name="articleTitle" lay-verify="required" lay-reqtext="文章分类名称不能为空"
                   placeholder="请输入文章分类名称" value="" class="layui-input articleTitle" autocomplete="off">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label required">图片注释</label>
        <div class="layui-input-block">
            <input type="text" name="articleImgDesc" lay-verify="required" lay-reqtext="图片注释不能为空"
                   placeholder="请输入文章分类名称" value="" class="layui-input articleImgDesc" autocomplete="off">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label required">文章分类图片</label>
        <div class="layui-input-block">
            <div class="layui-card">
                <div class="layui-card-header">
                    <button type="button" class="layui-btn" id="imageUpload">
                        <i class="layui-icon">&#xe67c;</i>上传图片
                    </button>
                </div>
                <div class="layui-card-body">

                    <div class=" articleImg">

                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label required">文章分类</label>
        <div class="layui-input-block">
            <label>
                <select name="articleSort" id="articleSort" lay-verify="required" lay-reqtext="文章分类不能为空">
                    <option value="">请选择</option>
                </select>
            </label>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label required">文章标签</label>
        <div class="layui-input-block">
            <div type="text" name="articleCloudTag" id="articleCloudTag" class="layui-input articleCloudTag" >
            </div>
        </div>
    </div>
    <div class="layui-form-item layui-form-text">
        <label class="layui-form-label">文章描述</label>
        <div class="layui-input-block">
            <textarea name="articleDescription" placeholder="请输入内容"   class="layui-textarea articleDescription" lay-verify="required" lay-reqtext="文章描述不能为空"></textarea>
        </div>
    </div>

</form>
<div class="layui-card">
    <div class="layui-card-header">文章内容</div>
    <div class="layui-card-body">
        <div name="editArticle" id="editArticle">
            <textarea name="editArticleAcount" placeholder="请输入文本内容" style="display: none"></textarea>
        </div>
    </div>
</div>

<div style="padding: 2rem; text-align: center">
    <button class="layui-btn" lay-submit="" lay-filter="saveArticleInfoBut">立即提交</button>
</div>
</body>
</html>